package cn.xtits.xtf.common.db.shard;

/**
 * Created by ShengHaiJiang on 16/4/5.
 */
public interface XTTableShardStrategy {

    /**
     * 按照月份分表
     * 日期规则yyyy-MM-dd HH:mm:ss
     * @param tableName
     * @param date
     * @return
     */
    public String shardTableByMonth(String tableName, String date);

}
